//
//  ChoiceCommentTableViewCell.m
//  项目
//
//  Created by 关雷 on 15-1-8.
//  Copyright (c) 2015年 张诗雨. All rights reserved.
//

#import "ChoiceCommentTableViewCell.h"
#import "WebColor.h"
@implementation ChoiceCommentTableViewCell

- (void)awakeFromNib {
    // Initialization code
}
- (void)dealloc
{
    [_contentLable release];
    [_timeLable release];
    [_imageBu release];
    [_nameBu release];
    [_timeImgV release];
    [super dealloc];
}
- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        self.imageBu = [[UIButton alloc] initWithFrame:CGRectMake(10, 10, 40, 40)];
        [self.contentView addSubview:_imageBu];
        [_imageBu release];
        self.nameBu = [[UIButton alloc] initWithFrame:CGRectMake(55, 10, 80, 20)];
        _nameBu.titleLabel.font = [UIFont systemFontOfSize:12.0];
       
        [self.contentView addSubview:_nameBu];
        [_nameBu release];
        self.timeImgV = [[UIImageView alloc] initWithFrame:CGRectMake(55, 37, 15, 15)];
        [_timeImgV setImage:[UIImage imageNamed:@"iconfont-shizhong.png"]];
        [self.contentView addSubview:_timeImgV];
        [_timeImgV release];
        self.timeLable = [[UILabel alloc] initWithFrame:CGRectMake(75, 35, 120, 20)];
        [_timeLable setFont:[UIFont systemFontOfSize:12.0]];
        [self.contentView addSubview:_timeLable];
        [_timeLable release];
        self.contentLable = [[UILabel alloc] initWithFrame:CGRectMake(10, 60, self.frame.size.width - 25, 60)];
        self.contentLable.numberOfLines = NO;
        [self.contentView addSubview:_contentLable];
        [_contentLable release];
        
        
    }
    return self;
}
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
